/* 
 * File:   utility.h
 * Author: ScaV
 *
 * Created on October 20, 2011, 7:28 PM
 */

#include "utility.h"

bool isSeparator(char ch) {
	char ms[] = "{}()+-= ;,\n\t";
	for (int i = 0; ms[i] != '\0'; ++i)
		if(ch == ms[i])
			return true;
	if(ch == -1)
		return true;
	return false;
}

bool isLanguageSeparator(char ch) {
	char ms[] = "{}()+-=;,";
	for (int i = 0; ms[i] != '\0'; ++i)
		if(ch == ms[i])
			return true;
	return false;
}

